package com.dts.yjnb.service.service;

import com.dts.common.core.page.TableDataInfo;
import com.dts.yjnb.service.domain.CreditInfo;
import com.dts.yjnb.service.domainDto.CreditInfoDTO;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * 信贷信息 服务层
 *
 * @author dts
 */
public interface ICreditInfoService
{
    TableDataInfo pageQuery(CreditInfoDTO creditInfoDTO);

    CreditInfoDTO getByid(Long id);

    boolean add(CreditInfoDTO creditInfoDTO);

    boolean update(CreditInfoDTO creditInfoDTO);

    boolean delete(Long id);

    void deleteBatch(Long[] ids);

    List<CreditInfo> search(CreditInfoDTO creditInfoDTO);

    void updateStatus(Long[] ids, Integer status);

    void updateRecommend(Long[] ids, Integer isRecommend);
    // 接口方法待实现
}
